package com.example.web.merchant.service.impl;

import com.example.web.merchant.MerchantRequestParams;
import com.example.web.merchant.pojo.Merchant;

import java.util.List;

public interface MerchatService {
    int add(MerchantRequestParams merchantRequestParams );
    Merchant findMerchant(String mname);
    Merchant login(MerchantRequestParams merchantRequestParams);

    int update(Merchant merchantRequestParams);

    List<Merchant> list();


    int updateStatusBymId(Integer mid);

    int updateStatusByMid(Integer mid);

    List<Merchant> findByCondition(String mrealname);
}
